package ooDay01;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zg = new Student();
        zg.name = "张光";
        zg.age = 13;
        zg.address = "比奇堡";
        zg.className = "先锋班";
        zg.classId = 1233;
        zg.study();
        zg.sayHi();
        zg.eat();
        zg.sleep();

        Student zl = new Student("张林",23,"花道街","成神班",1234);
        zl.sayHi();
        zl.study();


        Teacher li = new Teacher("李老师","李家坡",34,5000);
        li.sayHi();
        li.teach();



    }
}
